package rush.rushcampus.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import rush.rushcampus.entity.Errand;

import java.math.BigDecimal;

@ApiModel(description = "差事数据传输对象")
@Data
public class ErrandDto {
    @ApiModelProperty(value = "差事邮件信息", required = true)  // 必填参数
    private ErrandMailDto errandMailDto;
    @ApiModelProperty(value = "差事接收信息", required = true)  // 必填参数
    private ErrandReceiveDto errandReceiveDto;
    @ApiModelProperty(value = "其他差事信息", required = true)  // 必填参数
    private ErrandOrtherDto errandOrtherDto;
    private BigDecimal totalFee;
    private Integer typeId;
    private String typeTitle;
}
